view {
  box-sizing: border-box;
}

.content {
  background-color: #F9F7F7;
}

.myNav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 750rpx;

  .innerCt {
    position: absolute;
    width: 750rpx;
    bottom: 0;
    left: 0;

    .innerCtLeft {
      width: 375rpx;
      position: absolute;
      left: 0;
      bottom: 0;
      display: flex;
      align-items: center;
      flex-direction: row;

      .arrow {
        width: 24rpx;
        height: 48rpx;
        position: absolute;
        left: 40rpx;
      }
    }
  }

}

.infoNavWrapFixed {
  // position: fixed;
  // top: 0;
  // left: 0;
  // z-index: 9999;
  width: 750rpx;
  height: 180rpx;
  display: flex;
  justify-content: center;
  padding-top: 100rpx;
  background-color: #ffffff;

  .infoNav {
    width: 556rpx;
    display: flex;
    justify-content: space-between;

    .navItem {
      font-size: 38rpx;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.40);
      position: relative;
      display: flex;
      justify-content: center;

      &.active {
        color: #333333;

        &::after {
          content: '';
          display: block;
          width: 64rpx;
          height: 8rpx;
          background: #010101;
          border-radius: 2rpx;
          position: absolute;
          bottom: 0rpx;
        }
      }
    }
  }
}

.bannerWrap {
  height: 540rpx;
  position: relative;

  .swiper {
    background-color: black;
    height: 540rpx;

    .swiper-item {
      height: 540rpx;

      .swiperImage {
        width: 100%;
        height: 100%;
      }
    }
  }

  .numTab {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56rpx;
    height: 34rpx;
    background: #ffffff;
    border-radius: 2rpx;
    font-size: 24rpx;
    font-weight: 400;
    color: #333333;
    position: absolute;
    right: 48rpx;
    bottom: 32rpx;
  }
}

.baseInfo {
  background-color: #ffffff;
  padding-bottom: 32rpx;

  .infoNavWrap {
    display: flex;
    justify-content: center;
    padding-top: 32rpx;

    .infoNav {
      width: 556rpx;
      display: flex;
      justify-content: space-between;
      opacity: 0;

      &.active {
        opacity: 1;
      }

      .navItem {
        font-size: 28rpx;
        font-weight: 400;
        color: rgba(0, 0, 0, 0.40);
        position: relative;
        display: flex;
        justify-content: center;

        &.active {
          color: #333333;

          &::after {
            content: '';
            display: block;
            width: 28rpx;
            height: 4rpx;
            background: #010101;
            border-radius: 2rpx;
            position: absolute;
            bottom: -8rpx;
          }
        }
      }
    }
  }

  .benifitMoney {
    font-size: 28rpx;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.40);
    display: flex;
    align-items: flex-end;
    margin-top: 28rpx;
    padding-left: 32rpx;

    .unit {
      color: #FE0339;
      font-size: 28rpx;
    }

    .unitSideVal {
      color: #FE0339;
      font-size: 40rpx;
    }
  }

  .price {
    color: #000000;
    font-size: 24rpx;
    font-weight: 400;
    display: flex;
    align-items: flex-start;
    margin-top: 14rpx;
    padding-left: 32rpx;

    .priceVal {
      color: #333333;
    }

    .benifitVal {
      width: 124rpx;
      height: 30rpx;
      display: flex;
      justify-content: center;
      align-items: center;
      background-image: url('https://ustatic.hudongmiao.com/joymewApp/mall/couponBg.png');
      background-size: 100% 100%;
      margin-left: 34rpx;
      font-size: 20rpx;
      font-weight: 400;
      color: #ffffff;
    }
  }

  .nameInfo {
    display: flex;
    padding: 0 32rpx;
    margin-top: 32rpx;

    .prodName {
      width: 590rpx;
      font-size: 28rpx;
      font-weight: 500;
      color: #333333;
      line-height: 32rpx;
    }

    .shareBtn {
      font-size: 24rpx;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.40);
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-left: 48rpx;

      .zfIcon {
        font-size: 36rpx;
        margin-bottom: 6rpx;
        color: #58be6a;
      }
    }
  }
}

.numInfo {
  margin-top: 16rpx;
  height: 82rpx;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 32rpx;
  padding-right: 32rpx;

  .yfD {
    display: flex;
    align-items: center;

    .key {
      font-size: 24rpx;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.40);
    }

    .kVal {
      margin-left: 16rpx;
      font-size: 24rpx;
      font-weight: 400;
      color: #333333;
    }
  }

  .rightNum {
    font-size: 24rpx;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.40);
    display: flex;
    align-items: center;

    .bar {
      margin: 0 10rpx;
      width: 4rpx;
      height: 34rpx;
      background: rgba(0, 0, 0, 0.15);
    }
  }
}

.exampleWrap {
  margin-top: 16rpx;

  .exampleTit {
    padding: 0 32rpx;
    height: 90rpx;
    background: #ffffff;
    font-size: 24rpx;
    font-weight: 400;
    color: #333333;
    display: flex;
    align-items: center;
  }

  .exCt {
    background: #ffffff;
    height: 168rpx;
    margin-top: 2rpx;
    padding: 24rpx 0;

    .ctItem {
      display: flex;
      align-items: center;
      padding: 0 32rpx;
      margin-bottom: 20rpx;

      .avator {
        width: 48rpx;
        height: 48rpx;
        border-radius: 50%;
      }

      .nickname {
        margin-left: 22rpx;
        font-size: 28rpx;
        font-weight: 400;
        color: #333333;
      }
    }
  }
}

.prodDetail {
  width: 750rpx;
  overflow: hidden;
  margin-top: 16rpx;
  background-color: #ffffff;
  padding-top: 40rpx;
  box-sizing: border-box;
  .mainCt {
    width: 750rpx;
    overflow: hidden;
    box-sizing: border-box;
    .aw{
      width:100%;
      margin-top: 0;
      margin-bottom: 0;
    }
    rich-text {

      padding: 0 32rpx ;
      width: 750rpx;
      box-sizing: border-box;
      overflow: hidden;
      img{
        width:100%;
      }
    }
    // padding-left: 32rpx;
    // padding-right: 32rpx;
    font-size: 28rpx;
    font-weight: 400;
    color: #333333;
    line-height: 40rpx;
    margin-top: 40rpx;
    margin-bottom: 50rpx;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.fixedShareBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 520rpx;
  height: 80rpx;
  background: #58be6a;
  border-radius: 12rpx;
  font-size: 32rpx;
  font-weight: 400;
  color: #ffffff;
  position: fixed;
  left: 115rpx;
  bottom: 82rpx;
  z-index: 9999;
  animation-name: heartBeat;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;

  .wechatIcon {
    font-size: 32rpx;
    margin-right: 17rpx;
    color: #ffffff;
  }
}

@keyframes heartBeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}